package cn.edu.neu.dao;

import cn.edu.neu.model.Category;
import cn.edu.neu.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户DAO层接口
 */
@Mapper
public interface UserDao {
	List<User> getUserListByPage();

	/**
	 * 通过账号和密码查询用户
	 */
	public User findUser(@Param("username") String username,
						 @Param("password") String password);
	public List getUserlist();
	
	public int insertUser108(User user);

	//public User get_userlist();

	public List selectUserListWithPage();//分页

	public int deleteUser_108(Integer user_id);

	//更新商品分类信息
	public int updateUser108(User user);

	//int insert(User record);


}
